<?php
class select{
    public $info;
	public function select($hash){
	    $cmd="SELECT * FROM `select` WHERE select_hash='".$hash."'"; 
        $info=mysql_fetch_assoc(mysql_query($cmd));   
		$this->info=$info;
	}
	function detect_artist($id,$text){
       $id='-'.$id.'-';
       $text='-'.$text.'-';
       if ((strpos($text,$id)>-1)) return true;
       return false;
	}
	
}
?>